package org.rcloud.io.service;

import com.github.pagehelper.PageInfo;
import org.rcloud.io.Utils.PageVo;
import org.rcloud.io.Utils.ResultVo;
import org.rcloud.io.model.ArticleTable05Mapping;
import org.rcloud.io.model.Rural;
import org.rcloud.io.model.RuralSpecialtyMapping;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/3/12.
 */
public interface RuralService {
    PageVo<Rural> findRural();

    ResultVo findByEid(String eid);

    ResultVo saveRural(Rural rural);

    ResultVo findById(int id);

    ResultVo updateRural(Rural rural);

    ResultVo updateArtid(String nameTitle, String INF01);

    ResultVo saveSite(ArticleTable05Mapping articleTable05Mapping);

    ResultVo saveMapping(RuralSpecialtyMapping ruralSpecialtyMapping);

    PageInfo<Rural> selectByKey(int pageNum, int pageSize, Map map);
}
